package com.yoga.service;

import com.yoga.entity.*;

import java.math.BigDecimal;
import java.util.List;

public interface YogaUserService {
    //附近内的教练
//    List areaCoach(String area);

    //添加充值记录
    boolean saveTransaction(String uid, String type, BigDecimal money);

    //消费
    boolean updataMoney(Integer oid, BigDecimal money, Integer uid, String statese);

    //申诉添加方法待定
    boolean saveAppeal(UserAppeal userAppeal);

    //场馆的教练
    List<YogaUser> findAll(Integer vid);

    //学员评分
    boolean positive(YogaVenue yogaVenue);
    //修改密码
    boolean updataUser(YogaUser yogaUser);
    //个人钱包
    YogaMymoney personMoney(Integer uid);
    //查一个
    YogaUser findOne(Integer uid);

    List<YogaCoach> findAllCoach();

    List<YogaMyorder> coachByPrivate(Integer coachuid);

    List<YogaMyorder> userByPrivate(String uid);

    Boolean addUser(YogaUser yogaUser);

    YogaUser findUserByPhone(String tel);
}
